package org.nicocube.airain.utils.config;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

class FileConfig extends AbstractConfig implements Config {

	private Properties properties;

	public FileConfig(File file) throws FileNotFoundException, IOException {
		properties = new Properties();
		properties.load(new FileInputStream(file));
	}

	@Override
	public String get(String property) {
		return properties.getProperty(property);
	}


}
